package com.kdyzm.typora.upload.plugin.properties;

import lombok.Data;
import lombok.ToString;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

/**
 * @author kdyzm
 */
@Component
@PropertySource("application.properties")
@Data
@ToString
public class ConfigProperties {

    @Value("${uploadUrl}")
    private String uploadUrl;

    @Value("${config.userName}")
    private String userName;

    @Value("${config.password}")
    private String password;

    @Value("${loginUrl}")
    private String loginUrl;

    @Value("${homePage}")
    private String homePage;
}
